package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.domain.Menu;
import cn.wolfcode.crm.page.PageResult;
import cn.wolfcode.crm.query.MenuQueryObj;

import java.util.List;

public interface IMenuService {

    //查询出所有的父级菜单
    List<Menu> selectAllParent();

    List<Integer> listIdsByRoleId(Long roleId);

    List<Menu> listMenus();

    List<Long> listMenuIdsByEmployeeId(Long employeeId);


    //----------------------------------------------------------

    List<Menu> selectChildByParentId(Long parentId);

    void insert(Menu menu);
}
